home *** CD-ROM | disk | FTP | other *** search
/ Safarir 3 / SafTV-CD3.iso / mac / SAF-TV3 / SAFTV / rr.swf / scripts / DefineButton2_292 / BUTTONCONDACTION on(release).as
Text File  |  2002-06-17  |  1KB  |  71 lines

  1. on(release){
  2.    tellTarget("/blood-record")
  3.    {
  4.       nextFrame();
  5.    }
  6.    set("/:bullets",eval("/:bullets") - "1");
  7.    if(_droptarget eq "/bad1")
  8.    {
  9.       set("/:score",eval("/:score") + "26");
  10.       tellTarget("/bad1")
  11.       {
  12.          gotoAndStop("hit");
  13.          play();
  14.       }
  15.    }
  16.    if(_droptarget eq "/bad2")
  17.    {
  18.       set("/:score",eval("/:score") + "13");
  19.       tellTarget("/bad2")
  20.       {
  21.          gotoAndStop("hit");
  22.          play();
  23.       }
  24.    }
  25.    if(_droptarget eq "/bad3")
  26.    {
  27.       set("/:score",eval("/:score") + "42");
  28.       tellTarget("/bad3")
  29.       {
  30.          gotoAndStop("hit");
  31.          play();
  32.       }
  33.    }
  34.    if(_droptarget eq "/bad4")
  35.    {
  36.       set("/:score",eval("/:score") + "13");
  37.       tellTarget("/bad4")
  38.       {
  39.          gotoAndStop("hit");
  40.          play();
  41.       }
  42.    }
  43.    if(_droptarget eq "/bad5")
  44.    {
  45.       set("/:score",eval("/:score") + "13");
  46.       tellTarget("/bad5")
  47.       {
  48.          gotoAndStop("hit");
  49.          play();
  50.       }
  51.    }
  52.    if(_droptarget eq "/bad6")
  53.    {
  54.       set("/:score",eval("/:score") + "13");
  55.       tellTarget("/bad6")
  56.       {
  57.          gotoAndStop("hit");
  58.          play();
  59.       }
  60.    }
  61.    if(_droptarget eq "/bad7")
  62.    {
  63.       set("/:score",eval("/:score") + "0");
  64.       tellTarget("/bad7")
  65.       {
  66.          gotoAndStop("hit");
  67.          play();
  68.       }
  69.    }
  70. }
  71.